home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
tcp
/
ChatBox1_153.lha
/
ChatBox
/
Rexx
/
run.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-04-20
|
487b
|
25 lines
/* reverse */
HOST = address()
address value HOST
argum = arg(1)
comnd = word(argum, 1)
argm = subword(argum, 2)
address command comnd||' >T:cb.tmp '||argm
/*CMD '/read T:cb.tmp'*/
LOCAL HDR '[Command]' TXT comnd||' '||argm
if open('outfile', 't:cb.tmp') == 0 THEN
CMD '/echo Could not open T:cb.tmp.'
else
do while eof('outfile') ~= 1
newline = readln('outfile')
if length(newline) > 1 THEN
LOCAL HDR '['||comnd||']' TXT newline
end
exit 0